﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace LNUGame.Model
{
    /// <summary>
    /// Base class for all other sprites.
    /// Contains two Vector2 which stores the current position and size of the sprite
    /// </summary>
    class Actor
    {
        protected Vector2 m_centerBottomPosition;
        protected Vector2 m_size;

        /// <summary>
        /// Get or set the position of the sprite
        /// </summary>
        public Vector2 Position
        {
            get
            {
                return m_centerBottomPosition;
            }
            set
            {
                m_centerBottomPosition = value;
            }
        }

        /// <summary>
        /// Get or set the size of the sprite
        /// </summary>
        public Vector2 Size
        {
            get
            {
                return m_size;
            }
            set
            {
                m_size = value;
            }
        }
    }
}
